<?php

class User_Form_Login extends Form
{
    protected function _init()
    {
        $this -> addElement('@text', 'usr', array('label' => 'email'));
        $this -> addElement('@password', 'pwd', array('label' => 'password'));

        $this -> addElement('@group', 'buttons');

        $buttons = $this -> getElement('buttons') -> addElement('@submit', '_submit', array()) -> addElement('@cancel', '_cancel', array());
    }

}
